const TokenKey = 'App-Token'
const storage_data ='storage_data'

export function getToken() {
  return uni.getStorageSync(TokenKey)
}

export function setToken(token) {
  return uni.setStorageSync(TokenKey, token)
}

export function removeToken() {
  return uni.removeStorageSync(TokenKey)
}

//用户是否认证信息
export function getISAttestation() {
	let storageData=uni.getStorageSync(storage_data)
	if(storageData) return storageData.vuex_userInfo.dept.status;
	else return '0';
}
